﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace _2021_6_17
{
    public partial class success : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string name;
            string pass;
            if (Request.ServerVariables["Request_Method"] == "GET")
            {
               name = Request.QueryString["name"];
               pass = Request.QueryString["pass"];
            }
            else
            {
              name = Request.Form["account"];
              pass = Request.Form["password"];
            }

            Response.Write($"<h1>你好{name},你的密码是{pass}</h1>");

        }
    }
}